import service from '@/utils/request'

// @Tags UserIndexIntro
// @Summary 创建UserIndexIntro
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.UserIndexIntro true "创建UserIndexIntro"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /userIndexIntro/createUserIndexIntro [post]
export const createUserIndexIntro = (data) => {
     return service({
         url: "/userIndexIntro/createUserIndexIntro",
         method: 'post',
         data
     })
 }


// @Tags UserIndexIntro
// @Summary 删除UserIndexIntro
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.UserIndexIntro true "删除UserIndexIntro"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /userIndexIntro/deleteUserIndexIntro [delete]
 export const deleteUserIndexIntro = (data) => {
     return service({
         url: "/userIndexIntro/deleteUserIndexIntro",
         method: 'delete',
         data
     })
 }

// @Tags UserIndexIntro
// @Summary 删除UserIndexIntro
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除UserIndexIntro"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /userIndexIntro/deleteUserIndexIntro [delete]
 export const deleteUserIndexIntroByIds = (data) => {
     return service({
         url: "/userIndexIntro/deleteUserIndexIntroByIds",
         method: 'delete',
         data
     })
 }

// @Tags UserIndexIntro
// @Summary 更新UserIndexIntro
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.UserIndexIntro true "更新UserIndexIntro"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /userIndexIntro/updateUserIndexIntro [put]
 export const updateUserIndexIntro = (data) => {
     return service({
         url: "/userIndexIntro/updateUserIndexIntro",
         method: 'put',
         data
     })
 }


// @Tags UserIndexIntro
// @Summary 用id查询UserIndexIntro
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.UserIndexIntro true "用id查询UserIndexIntro"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /userIndexIntro/findUserIndexIntro [get]
 export const findUserIndexIntro = (params) => {
     return service({
         url: "/userIndexIntro/findUserIndexIntro",
         method: 'get',
         params
     })
 }


// @Tags UserIndexIntro
// @Summary 分页获取UserIndexIntro列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.PageInfo true "分页获取UserIndexIntro列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /userIndexIntro/getUserIndexIntroList [get]
 export const getUserIndexIntroList = (params) => {
     return service({
         url: "/userIndexIntro/getUserIndexIntroList",
         method: 'get',
         params
     })
 }